package root.electronclass.electronclass.mvp.entity;


import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 学生信息补充
 * </p>
 *
 * //author yxq
 * //since 2022-08-03
 */
//ApiModel(value="UserInfoStudent对象", description="学生信息补充")
public class UserInfoStudent  implements Serializable {



    private Long id;
    //   //@ApiModelProperty(value = "用户表ID")
    private Long userInfoId;
    //@ApiModelProperty(value = "姓名")
    private String name;
    //@ApiModelProperty(value = "手机号码")
    private String cellPhone;
    //@ApiModelProperty(value = "身份证号")
    private String cardId;
    //@ApiModelProperty(value = "入学年月，yyyy-MM-dd")
    private String joinDate;
    //@ApiModelProperty(value = "学校ID，部门表中(21-学校)对应记录的ID")
    private Long schoolId;
    //@ApiModelProperty(value = "学校ID，部门表中(22-本级，23-分校)对应记录的ID")
    private Long subSchoolId;
    //@ApiModelProperty(value = "所属部门ID")
    private Long departId;
    //@ApiModelProperty(value = "性别，0-未填写；1-男；2-女")
    private Integer gender;
    //@ApiModelProperty(value = "学号")
    private String userNo;
    //@ApiModelProperty(value = "学生类型， 1-非晚自习通校生 2-晚自习通校生 3-住校生")
    private Integer studentType;
    //@ApiModelProperty(value = "准考证号")
    private String zkzh;
    //@ApiModelProperty(value = "当前状态，1-启用；21-调班；22-升级；23-留级；24-退学；25-转校；26-毕业；100-其他")
    private Integer status;
    //@ApiModelProperty(value = "是否实名，1-已实名；2-未实名 ")
    private Integer isRealName;

    //@ApiModelProperty(value = "用户基础信息 ")
    private UserInfoVO userInfoVo;

    //@ApiModelProperty(value = "监护人信息")
//    private List<UserParentChildRelationsVO> parents;

    //@ApiModelProperty(value = "部门/班级")
    private OrgDepartmentInfoVO orgDepartmentInfoVO;

    //@ApiModelProperty(value = "综合报告id")
    //@//@ApiMoField(exist = false)
    private Long reportId;
    // @//@ApiMoField(exist = false)
    private String facePhoto;
    //@//@ApiMoField(exist = false)
    private String departName;


    //@ApiModelProperty(value = "消费卡信息")
    private CanteenBalance canteenBalance;


    //@ApiModelProperty(value = "班干部记录")
//    private List<ClassLeaderVO> classLeaderVOS;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Long userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCellPhone() {
        return cellPhone;
    }

    public void setCellPhone(String cellPhone) {
        this.cellPhone = cellPhone;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(String joinDate) {
        this.joinDate = joinDate;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSubSchoolId() {
        return subSchoolId;
    }

    public void setSubSchoolId(Long subSchoolId) {
        this.subSchoolId = subSchoolId;
    }

    public Long getDepartId() {
        return departId;
    }

    public void setDepartId(Long departId) {
        this.departId = departId;
    }


    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getUserNo() {
        return userNo;
    }

    public String getUserNoString(){
        return "学号："+userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }


    public void setStudentType(Integer studentType) {
        this.studentType = studentType;
    }

    public String getZkzh() {
        return zkzh;
    }

    public void setZkzh(String zkzh) {
        this.zkzh = zkzh;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsRealName() {
        return isRealName;
    }

    public void setIsRealName(Integer isRealName) {
        this.isRealName = isRealName;
    }

    public UserInfoVO getUserInfoVo() {
        return userInfoVo;
    }

    public void setUserInfoVo(UserInfoVO userInfoVo) {
        this.userInfoVo = userInfoVo;
    }

    public OrgDepartmentInfoVO getOrgDepartmentInfoVO() {
        return orgDepartmentInfoVO;
    }

    public void setOrgDepartmentInfoVO(OrgDepartmentInfoVO orgDepartmentInfoVO) {
        this.orgDepartmentInfoVO = orgDepartmentInfoVO;
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public String getFacePhoto() {
        return facePhoto;
    }

    public void setFacePhoto(String facePhoto) {
        this.facePhoto = facePhoto;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public CanteenBalance getCanteenBalance() {
        return canteenBalance;
    }

    public void setCanteenBalance(CanteenBalance canteenBalance) {
        this.canteenBalance = canteenBalance;
    }
    public String getGender() {
        switch (gender){
            case 1:
                return "男";
            case 2:
                return "女";
        }
        return "男";
    }


    public String getStudentType() {
        switch (studentType){
            case 1:
                return "非晚自习通校生";
            case 2:
                return "晚自习通校生";
            case 3:
                return "住校生";
        }
        return "非晚自习通校生";
    }


    @Override
    public String toString() {
        return "UserInfoStudent{" +
                "id=" + id +
                ", userInfoId=" + userInfoId +
                ", name='" + name + '\'' +
                ", cellPhone='" + cellPhone + '\'' +
                ", cardId='" + cardId + '\'' +
                ", joinDate='" + joinDate + '\'' +
                ", schoolId=" + schoolId +
                ", subSchoolId=" + subSchoolId +
                ", departId=" + departId +
                ", gender=" + gender +
                ", userNo='" + userNo + '\'' +
                ", studentType=" + studentType +
                ", zkzh='" + zkzh + '\'' +
                ", status=" + status +
                ", isRealName=" + isRealName +
                ", userInfoVo=" + userInfoVo +
                ", orgDepartmentInfoVO=" + orgDepartmentInfoVO +
                ", reportId=" + reportId +
                ", facePhoto='" + facePhoto + '\'' +
                ", departName='" + departName + '\'' +
                ", canteenBalance=" + canteenBalance +
                '}';
    }
}
